home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news text
| default
| |
99%
| file
| C source, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| dexmagic
| PrintFox/Pagefox WEAK
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/news
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 72 65 | 64 2e 77 65 65 67 2e 75 |Path: re|d.weeg.u|
|00000010| 69 6f 77 61 2e 65 64 75 | 21 72 6f 62 69 6e 73 6f |iowa.edu|!robinso|
|00000020| 6e 0a 46 72 6f 6d 3a 20 | 54 68 65 20 41 6d 6f 72 |n.From: |The Amor|
|00000030| 70 68 6f 75 73 20 4d 61 | 73 73 20 3c 72 6f 62 69 |phous Ma|ss <robi|
|00000040| 6e 73 6f 6e 40 62 6c 75 | 65 2e 77 65 65 67 2e 75 |nson@blu|e.weeg.u|
|00000050| 69 6f 77 61 2e 65 64 75 | 3e 0a 4e 65 77 73 67 72 |iowa.edu|>.Newsgr|
|00000060| 6f 75 70 73 3a 20 63 6f | 6d 70 2e 6c 61 6e 67 2e |oups: co|mp.lang.|
|00000070| 63 0a 53 75 62 6a 65 63 | 74 3a 20 52 65 3a 20 72 |c.Subjec|t: Re: r|
|00000080| 65 6e 61 6d 69 6e 67 20 | 66 69 6c 65 20 6e 61 6d |enaming |file nam|
|00000090| 65 73 20 66 72 6f 6d 20 | 77 69 74 68 69 6e 20 43 |es from |within C|
|000000a0| 21 0a 44 61 74 65 3a 20 | 54 75 65 2c 20 31 36 20 |!.Date: |Tue, 16 |
|000000b0| 4a 61 6e 20 31 39 39 36 | 20 32 33 3a 34 35 3a 33 |Jan 1996| 23:45:3|
|000000c0| 31 20 2d 30 36 30 30 0a | 4f 72 67 61 6e 69 7a 61 |1 -0600.|Organiza|
|000000d0| 74 69 6f 6e 3a 20 55 6e | 69 76 65 72 73 69 74 79 |tion: Un|iversity|
|000000e0| 20 6f 66 20 49 6f 77 61 | 2c 20 49 6f 77 61 20 43 | of Iowa|, Iowa C|
|000000f0| 69 74 79 2c 20 49 41 2c | 20 55 53 41 0a 44 69 73 |ity, IA,| USA.Dis|
|00000100| 74 72 69 62 75 74 69 6f | 6e 3a 20 77 6f 72 6c 64 |tributio|n: world|
|00000110| 0a 4d 65 73 73 61 67 65 | 2d 49 44 3a 20 3c 50 69 |.Message|-ID: <Pi|
|00000120| 6e 65 2e 41 33 32 2e 33 | 2e 39 31 2e 39 36 30 31 |ne.A32.3|.91.9601|
|00000130| 31 36 32 33 34 30 34 37 | 2e 31 34 37 39 32 33 43 |16234047|.147923C|
|00000140| 2d 31 30 30 30 30 30 40 | 72 65 64 2e 77 65 65 67 |-100000@|red.weeg|
|00000150| 2e 75 69 6f 77 61 2e 65 | 64 75 3e 0a 52 65 66 65 |.uiowa.e|du>.Refe|
|00000160| 72 65 6e 63 65 73 3a 20 | 3c 34 64 68 37 73 62 24 |rences: |<4dh7sb$|
|00000170| 36 64 65 40 68 61 6d 6d | 65 72 68 65 61 64 2e 64 |6de@hamm|erhead.d|
|00000180| 61 64 64 2e 74 69 2e 63 | 6f 6d 3e 0a 4e 4e 54 50 |add.ti.c|om>.NNTP|
|00000190| 2d 50 6f 73 74 69 6e 67 | 2d 48 6f 73 74 3a 20 72 |-Posting|-Host: r|
|000001a0| 65 64 2e 77 65 65 67 2e | 75 69 6f 77 61 2e 65 64 |ed.weeg.|uiowa.ed|
|000001b0| 75 0a 4d 69 6d 65 2d 56 | 65 72 73 69 6f 6e 3a 20 |u.Mime-V|ersion: |
|000001c0| 31 2e 30 0a 43 6f 6e 74 | 65 6e 74 2d 54 79 70 65 |1.0.Cont|ent-Type|
|000001d0| 3a 20 54 45 58 54 2f 50 | 4c 41 49 4e 3b 20 63 68 |: TEXT/P|LAIN; ch|
|000001e0| 61 72 73 65 74 3d 55 53 | 2d 41 53 43 49 49 0a 58 |arset=US|-ASCII.X|
|000001f0| 2d 53 65 6e 64 65 72 3a | 20 72 6f 62 69 6e 73 6f |-Sender:| robinso|
|00000200| 6e 40 72 65 64 2e 77 65 | 65 67 2e 75 69 6f 77 61 |n@red.we|eg.uiowa|
|00000210| 2e 65 64 75 0a 49 6e 2d | 52 65 70 6c 79 2d 54 6f |.edu.In-|Reply-To|
|00000220| 3a 20 3c 34 64 68 37 73 | 62 24 36 64 65 40 68 61 |: <4dh7s|b$6de@ha|
|00000230| 6d 6d 65 72 68 65 61 64 | 2e 64 61 64 64 2e 74 69 |mmerhead|.dadd.ti|
|00000240| 2e 63 6f 6d 3e 20 0a 0a | 4f 6e 20 31 36 20 4a 61 |.com> ..|On 16 Ja|
|00000250| 6e 20 31 39 39 36 2c 20 | 53 75 64 68 65 65 72 20 |n 1996, |Sudheer |
|00000260| 56 65 6d 75 6c 61 70 61 | 6c 6c 69 20 77 72 6f 74 |Vemulapa|lli wrot|
|00000270| 65 3a 0a 0a 3e 20 48 65 | 6c 6c 6f 20 4e 65 74 74 |e:..> He|llo Nett|
|00000280| 65 72 73 2c 0a 3e 20 0a | 3e 20 49 20 68 61 76 65 |ers,.> .|> I have|
|00000290| 20 61 20 71 75 65 73 74 | 69 6f 6e 2e 20 50 6c 65 | a quest|ion. Ple|
|000002a0| 61 73 65 20 6c 65 74 20 | 6d 65 20 6b 6e 6f 77 20 |ase let |me know |
|000002b0| 68 6f 77 20 74 6f 20 64 | 6f 20 74 68 65 20 66 6f |how to d|o the fo|
|000002c0| 6c 6c 6f 77 69 6e 67 2e | 0a 3e 20 0a 3e 20 48 6f |llowing.|.> .> Ho|
|000002d0| 77 20 63 61 6e 20 69 20 | 6d 6f 76 65 2f 72 65 6e |w can i |move/ren|
|000002e0| 61 6d 65 20 61 20 66 69 | 6c 65 20 69 6e 20 74 68 |ame a fi|le in th|
|000002f0| 65 20 55 4e 49 58 20 73 | 79 73 74 65 6d 20 66 72 |e UNIX s|ystem fr|
|00000300| 6f 6d 20 77 69 74 68 69 | 6e 20 61 20 43 20 70 72 |om withi|n a C pr|
|00000310| 6f 67 72 61 6d 2e 0a 3e | 20 53 75 70 70 6f 73 65 |ogram..>| Suppose|
|00000320| 20 69 20 68 61 76 65 20 | 74 77 6f 20 73 74 72 69 | i have |two stri|
|00000330| 6e 67 73 20 22 61 22 20 | 61 6e 64 20 22 62 22 2e |ngs "a" |and "b".|
|00000340| 0a 3e 20 63 68 61 72 20 | 2a 61 2c 20 2a 62 3b 0a |.> char |*a, *b;.|
|00000350| 3e 20 77 68 69 63 68 20 | 63 6f 6e 74 61 69 6e 20 |> which |contain |
|00000360| 74 68 65 20 74 77 6f 20 | 73 74 72 69 6e 67 73 2e |the two |strings.|
|00000370| 20 61 6e 64 20 6c 65 74 | 27 73 20 73 61 79 20 74 | and let|'s say t|
|00000380| 68 61 74 20 61 20 66 69 | 6c 65 20 65 78 69 73 74 |hat a fi|le exist|
|00000390| 73 20 77 69 74 68 20 69 | 74 73 20 6e 61 6d 65 0a |s with i|ts name.|
|000003a0| 3e 20 73 61 6d 65 20 61 | 73 20 74 68 65 20 73 74 |> same a|s the st|
|000003b0| 72 69 6e 67 20 69 6e 20 | 22 62 22 2e 20 48 6f 77 |ring in |"b". How|
|000003c0| 20 63 61 6e 20 69 20 72 | 65 6e 61 6d 65 20 69 74 | can i r|ename it|
|000003d0| 20 6f 72 20 6d 76 20 69 | 74 20 73 6f 20 74 68 61 | or mv i|t so tha|
|000003e0| 74 20 74 68 65 20 0a 3e | 20 66 69 6c 65 27 73 20 |t the .>| file's |
|000003f0| 6e 61 6d 65 20 62 65 63 | 6f 6d 65 73 20 73 61 6d |name bec|omes sam|
|00000400| 65 20 61 73 20 73 74 72 | 69 6e 67 20 69 6e 20 22 |e as str|ing in "|
|00000410| 61 22 2e 0a 0a 23 69 6e | 63 6c 75 64 65 20 3c 73 |a"...#in|clude <s|
|00000420| 74 64 69 6f 2e 68 3e 0a | 0a 69 66 20 28 72 65 6e |tdio.h>.|.if (ren|
|00000430| 61 6d 65 28 62 2c 61 29 | 20 3d 3d 20 30 29 20 7b |ame(b,a)| == 0) {|
|00000440| 0a 09 2f 2a 20 72 65 6e | 61 6d 65 20 73 75 63 63 |../* ren|ame succ|
|00000450| 65 65 64 65 64 20 2a 2f | 0a 7d 20 65 6c 73 65 20 |eeded */|.} else |
|00000460| 7b 0a 09 2f 2a 20 72 65 | 6e 61 6d 65 20 66 61 69 |{../* re|name fai|
|00000470| 6c 65 64 20 2a 2f 0a 7d | 0a 0a 20 20 72 65 6e 61 |led */.}|.. rena|
|00000480| 6d 65 28 29 20 69 73 20 | 70 61 72 74 20 6f 66 20 |me() is |part of |
|00000490| 74 68 65 20 53 74 61 6e | 64 61 72 64 20 4c 69 62 |the Stan|dard Lib|
|000004a0| 72 61 72 79 2c 20 73 6f | 20 74 68 69 73 20 63 6f |rary, so| this co|
|000004b0| 64 65 20 69 73 20 70 6f | 72 74 61 62 6c 65 20 74 |de is po|rtable t|
|000004c0| 6f 20 0a 61 6c 6c 20 73 | 79 73 74 65 6d 73 20 74 |o .all s|ystems t|
|000004d0| 68 61 74 20 73 75 70 70 | 6f 72 74 20 41 4e 53 49 |hat supp|ort ANSI|
|000004e0| 20 43 2e 0a 0a 2f 2a 2a | 4a 61 6d 65 73 20 52 6f | C.../**|James Ro|
|000004f0| 62 69 6e 73 6f 6e 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |binson**|********|
|00000500| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 20 20 20 |********|***** |
|00000510| 20 20 20 20 20 20 20 20 | 20 0a 20 20 22 49 66 20 | | . "If |
|00000520| 61 20 66 61 74 61 6c 20 | 65 72 72 6f 72 20 6f 63 |a fatal |error oc|
|00000530| 63 75 72 73 2c 20 74 68 | 65 20 70 72 6f 67 72 61 |curs, th|e progra|
|00000540| 6d 20 73 68 6f 75 6c 64 | 20 6e 6f 74 20 62 65 20 |m should| not be |
|00000550| 61 6c 6c 6f 77 65 64 20 | 74 6f 20 63 6f 6e 74 69 |allowed |to conti|
|00000560| 6e 75 65 2e 22 0a 20 2d | 2d 20 4f 72 61 63 6c 65 |nue.". -|- Oracle|
|00000570| 20 50 72 6f 2a 43 20 55 | 73 65 72 27 73 20 47 75 | Pro*C U|ser's Gu|
|00000580| 69 64 65 20 20 20 20 20 | 20 20 20 20 2a 2a 2a 2a |ide | ****|
|00000590| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 6a 61 6d 65 73 2d 72 |********|*james-r|
|000005a0| 6f 62 69 6e 73 6f 6e 40 | 75 69 6f 77 61 2e 65 64 |obinson@|uiowa.ed|
|000005b0| 75 2a 2a 2f 0a | |u**/. | |
+--------+-------------------------+-------------------------+--------+--------+